package cn.kgc.springcloud.client;

import cn.kgc.springcloud.entity.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: 课工场
 * @since 2023/9/12
 */
@FeignClient("TAGSERVICE")
public interface TagClient {

    //根据标签id获取标签详细信息
    @GetMapping("/springcloud/tag/getById/{id}")
    Tag getTagById(@PathVariable("id") Integer id);
}
